package com.merchant.product.service.impl;

import com.merchant.product.dao.TokenDao;
import com.merchant.product.domain.WxToken;


import com.merchant.product.service.TokenService;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Service
@Transactional
public class TokenServiceImpl implements TokenService {

	@Autowired
	private TokenDao tokenDao;
	@Override
	public WxToken findAll() {
		return tokenDao.findAll();
	}
	@Override
	public void update(WxToken token) {
		 tokenDao.update(token);
	}
	
   

}
